package testportal

class EnvironMenuLinkTagLib {
	static namespace = "tp"
	
	def environMenuLink = { attrs, body ->
		
		def region = Region.findByName(attrs.region)
		def environs = Environ.findAllByRegion(region)
		
		out << render(template: "/templates/menuEnvironmentLink", model:[environs: environs])
	}

}
